﻿<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" CodeBehind="CommonAdd.aspx.cs" Inherits="TaoSH.View.CommonAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link rel="stylesheet" href="../../CSS/bootstrap3.2/css/bootstrap.css" />
    <link rel="stylesheet" href="../../JqueryPlug/jQuery-Validation-Engine-2.6.2/css/validationEngine.jquery.css" />
    <link href="../../JqueryPlug/umeditor122/themes/default/css/umeditor.css" type="text/css" rel="stylesheet" />

    <script type="text/javascript" src="../../Scripts/jquery-1.8.0.min.js"></script>
    <script type="text/javascript" src="../../CSS/bootstrap3.2/js/bootstrap.js"></script>
    <script type="text/javascript" src='../../JqueryPlug/lhgdialog/lhgdialog.js?skin=discuz'></script>
    <script type="text/javascript" src="../../JqueryPlug/Toast/toastr.js"></script>
    <script src="../../JqueryPlug/jQuery-Validation-Engine-2.6.2/js/jquery.validationEngine-zh_CN.js" type="text/javascript" charset="utf-8"></script>
    <script src="../../JqueryPlug/jQuery-Validation-Engine-2.6.2/js/jquery.validationEngine.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript" src="../../Scripts/B2CCommon.js"></script>
    <!--[if IE]>
        <script src="../../Scripts/HTML5.js"></script>
    <![endif]-->
    <style type="text/css">
        .panscImg .img-thumbnail {
            width: 70px;
            height: 70px;
            margin-left: 20px;
        }

        .panscImg .img-thumbnail {
            width: 70px;
            height: 70px;
            margin-left: 20px;
        }

        .panscImg .label {
            position: absolute;
            margin-left: -20px;
            margin-top: -5px;
            cursor: pointer;
        }

        .FT_Upload {
            display: none;
        }

        .FormLable {
            vertical-align: middle !important;
            text-align: right;
        }
    </style>
</head>
<body>
    <form id="addForm" runat="server">


        <div class="container-fluid maindiv" style="margin: 20px 20px 50px 20px">
            <div class="row">
                <div class="col-xs-12">
                    <div class="tabbable">
                        <!-- Only required for left/right tabs -->
                        <ul class="nav nav-tabs" role="tablist">
                            <li class="active"><a href="#tabForm" data-toggle="tab" role="tab" style="font-size: 16px;">
                                <asp:Label runat="server" ID="lblTitle" Font-Bold="True" /></a></li>
                            <li class="pull-right"></li>
                        </ul>
                        <div class="tab-content" id="condv" style="overflow: hidden">
                            <!--startprint-->
                            <div class="tab-pane fade in active" id="tabForm" style="padding-top: 10px; margin-bottom: 10px">

                                <asp:PlaceHolder runat="server" ID="UserControl" />

                            </div>
                            <!--endprint-->
                        </div>
                    </div>
                </div>


            </div>

            <table class="table navbar-fixed-bottom" style="background-color: whitesmoke;">
                <tbody>
                    <tr>
                        <td class="text-center">

                            <asp:Button Text="保 存" ID="btSendForm" runat="server" Width="150px" CssClass="btn btn-success btn-large" OnClientClick=" if(!CheckData()){return false;}" OnClick="btSendForm_Click" />


                        </td>
                    </tr>
                </tbody>
            </table>
        </div>

        <script type="text/javascript">
            function CheckData() {
                if (typeof (getdata) === "function") {
                    getdata();
                }
                if (confirm('你确定要保存吗？')) {
                    return true;
                }
                else {
                    return false;
                }
            }
            $(document).ready(function () {
                ComFunJS.initForm();
            });

        </script>

        <input type="hidden" id="hidFileIDS" runat="server" value="" />
        <input type="hidden" id="hidFormCode" runat="server" value="" />
        <input type="hidden" runat="server" id="hidFormID" value="" />
    </form>
</body>
</html>
